//
//  ZXZUtil.h
//  zuxianzhi
//
//  Created by tyu on 28.5.24.
//


#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@interface ZXZUtil : NSObject


+ (UIViewController *)createControllerById:(NSString *)Id
                             storyboadName:(NSString *)storyboadName
                                    bundle:(NSBundle *)bundle;


+ (UIWindow *)getKeyWindow;

+ (UIImage *)appIconImage;
+ (NSString *)getAppNameAndVersion;

//+ (NSString *)imageBase64:(UIImage *)image;
//+ (UIImage *)base64Image:(NSString *)base64Str;

+ (UIImage *)sniptImageWithRect:(CGRect)rect
                           view:(UIView *)view;

+ (NSString *)getAppVersion;

@end

NS_ASSUME_NONNULL_END
